package com.onemore.cc.net_frame.exception;

/**
 * Create by lizihao
 * Desc: 自定义服务器异常 看服务器数据接口 最外层 code msg
 * Date: 2018/9/19
 */
public class ServerException extends RuntimeException {
    private int code;
    private String msg;

    public ServerException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
